From: Giuseppe Scrivano Date: Mon, 23 Feb 2015 10:57:02 +0000 (+0100) Subject: autogen.sh: replace all $(libbsdiff_srcpath) and $(libglnx_srcpath) X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~886 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9e3a018d85511b5928a62da732106e41ec633df8;p=ostree.git autogen.sh: replace all $(libbsdiff_srcpath) and $(libglnx_srcpath) The variable could be specified more times on the same line, having something like: EXTRA_DIST += ./libglnx/README $(libglnx_srcpath)/COPYING Now the change ensures that it looks like: EXTRA_DIST += ./libglnx/README ./libglnx/COPYING Signed-off-by: Giuseppe Scrivano --- diff --git a/autogen.sh b/autogen.sh index da479e07..3dc2b94b 100755 --- a/autogen.sh +++ b/autogen.sh @@ -33,8 +33,8 @@ if ! test -f libglnx/README.md -o bsdiff/README.md; then git submodule update --init fi # Workaround automake bug with subdir-objects and computed paths -sed -e 's,$(libglnx_srcpath),'${srcdir}/libglnx, < libglnx/Makefile-libglnx.am >libglnx/Makefile-libglnx.am.inc -sed -e 's,$(libbsdiff_srcpath),'${srcdir}/bsdiff, < bsdiff/Makefile-bsdiff.am >bsdiff/Makefile-bsdiff.am.inc +sed -e 's,$(libglnx_srcpath),'${srcdir}/libglnx,g < libglnx/Makefile-libglnx.am >libglnx/Makefile-libglnx.am.inc +sed -e 's,$(libbsdiff_srcpath),'${srcdir}/bsdiff,g < bsdiff/Makefile-bsdiff.am >bsdiff/Makefile-bsdiff.am.inc autoreconf --force --install --verbose